<template>
  <div>
    <div class="con">
      <div class="selectPos"><el-select
        :teleported="false"
        style="width: 150px"
        size="small"
        clearable
        placeholder="请选择工种"
        v-model="typeWork"
        
      >
        <el-option
          v-for="item in options"
          :key="item.value"
          :label="item.label"
          :value="item.value"
        >
        </el-option>
      </el-select></div>
      <div class="titleBox">
        <span class="title">今日劳务人员出勤</span>
        <span class="number">24</span>
        <span class="title">今日劳务出勤率</span>
        <span class="number">74%</span>
      </div>
      <div class="progressBox">
        <div class="list">
          <div class="pro">
            <el-progress
              :text-inside="true"
              :stroke-width="15"
              :percentage="50"
              status="exception"
            ></el-progress>
          </div>
          <span class="typeWork">木工</span>
          <div class="dataBox">
            <div>
              <span class="title">今日出勤</span
              ><span class="number">40人</span>
            </div>
            <div>
              <span class="title">今日未出勤</span
              ><span class="number">20人</span>
            </div>
          </div>
        </div>
        <div class="list">
          <div class="pro">
            <el-progress
              :text-inside="true"
              :stroke-width="15"
              :percentage="50"
              status="exception"
            ></el-progress>
          </div>
          <span class="typeWork">木工</span>
          <div class="dataBox">
            <div>
              <span class="title">今日出勤</span
              ><span class="number">40人</span>
            </div>
            <div>
              <span class="title">今日未出勤</span
              ><span class="number">20人</span>
            </div>
          </div>
        </div>
        <div class="list">
          <div class="pro">
            <el-progress
              :text-inside="true"
              :stroke-width="16"
              :percentage="50"
              status="exception"
            ></el-progress>
          </div>
          <span class="typeWork">木工</span>
          <div class="dataBox">
            <div>
              <span class="title">今日出勤</span
              ><span class="number">40人</span>
            </div>
            <div>
              <span class="title">今日未出勤</span
              ><span class="number">20人</span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name:'homeArea4',
  data() {
    return {
      options: [
        {
          value: "选项1",
          label: "黄金糕",
        },
        {
          value: "选项2",
          label: "双皮奶",
        },
        {
          value: "选项3",
          label: "蚵仔煎",
        },
        {
          value: "选项4",
          label: "龙须面",
        },
        {
          value: "选项5",
          label: "北京烤鸭",
        },
      ],
      typeWork: "",
    };
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
.con {
  margin-left: 20px;
  position: relative;
  .selectPos{
    position: absolute;
    top:-37px;
    right:30px;
  }
  .titleBox {
    .title {
      color: #ccc;
    }
    .number {
      color: #0054bb;
      padding: 0 15px;
      font-size: 20px;
    }
  }
  .progressBox {
    .list {
      position: relative;
      .pro {
        margin: 0 40px;
      }
      .typeWork {
        position: absolute;
        top: -1px;
        color: #ccc;
      }
      .dataBox {
        display: flex;
        justify-content: space-between;
        div{
            margin-right: 20px;
            .title{
                font-size: 13px;
                color:rgb(175, 174, 174);
            }
            .number{
                margin:0 10px ;
                font-size: 14px;
                color: #f3f8ff;
            }
        }
      }
    }
  }
}
</style>